package com.fqgj.sentry.biz.store;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by liupengpeng on 2017/10/17.
 */
public class OrderBase implements Serializable {
    @JsonProperty("merchant_id")
    private Short merchantId;
    @JsonProperty("app_id")
    private Short appId;
    @JsonProperty("order_no")
    private String orderNo;
    @JsonProperty("user_no")
    private String userNo;
    @JsonProperty("created_at")
    private Date createdAt;

    public Short getMerchantId() {
        return merchantId;
    }

    public OrderBase setMerchantId(Short merchantId) {
        this.merchantId = merchantId;
        return this;
    }

    public Short getAppId() {
        return appId;
    }

    public OrderBase setAppId(Short appId) {
        this.appId = appId;
        return this;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public OrderBase setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public String getUserNo() {
        return userNo;
    }

    public OrderBase setUserNo(String userNo) {
        this.userNo = userNo;
        return this;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public OrderBase setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
        return this;
    }
}
